/**
* @author王华贵
* @Description :定义服务器返回的首页数据的类型
*/
export interface Tomatoe {
    img: string
    name: string
    link: string
    order: number
}
export type Tomatoes = Tomatoe[];
export interface RES_HOME_DATA {
    moduleContent: {
        focusImages: any[]
        pictures: any[]
        tomatoes: Tomatoes
        moduleRankDatas: Array<{
            title: string
            rankId: number
            size: number
            moreLink: string
            order: number
            rankingContentInfoList: {
                clusterCode: string
                categoryCode: string
                rankId: number
                contentType: number
                title: string
                rankModuleInfoList: Array<{
                    id: number
                    albumInfo: {
                        id: number
                        cover: string
                        title: string
                        customTitle: string
                        shortIntro: string
                        salePoint: string
                        recommendReason: string
                        albumTag: number
                        albumFinishTag: number
                        albumPreferTag: number
                        albumType: number
                        albumPayType: number
                        albumVipPayType: number
                        isVipFirst: false,
                        status: number
                        categoryId: number
                    }
                    statCountInfo: {
                        id: number
                        playCount: number
                        trackCount: number
                    }
                    pageUriInfo: {
                        id: number
                        categoryId: number
                        categoryName: string
                        categoryCode: string
                        pinyin: string
                        url: string
                    }
                    anchorInfo: {
                        id: number
                        nickname: string
                        isVip: boolean,
                        logo: string
                        verifyStatus: number
                        verifyType: number
                        anchorGrade: number
                        userGrade: number
                        personDescribe: string
                        personalSignature: string
                        ptitle: string
                        mobileBackgroundPic: string,
                        isLoginBan: boolean
                    }
                }>
            }
        }>
    }
}

/**
* @author王华贵
* @Description :定义服务器返回的首页热门推荐列表数据的类型
*/
export interface HOT_INFO {
    albumId: number
    albumPlayCount: number
    albumTrackCount: number
    albumCoverPath: string
    albumTitle: string
    albumUserNickName: string
    anchorId: number
    anchorGrade: number
    mvpGrade: number
    isDeleted: false,
    isPaid: true,
    isFinished: number
    anchorUrl: string
    albumUrl: string
    intro: string
    vipType: number
    logoType: number
    albumSubscript: number
}
export type ALBUMS = HOT_INFO[];
export interface HOME_HOT_OBJ {
    currentUid: number
    pageNum: number
    pageSize: number
    total: number
    albums: ALBUMS
}

/**
* @author王华贵
* @Description : 定义服务器返回的关于首页限时免费和今日头条的数据类型
*/
export interface TODAY_HOT {
    albumCoverPath: string
    albumId: number
    albumTitle: string
    anchorId: number
    anchorName: string
    breakSecond: number
    coverLarge: string
    coverMiddle: string
    coverPath: string
    coverSmall: string
    createDateFormat: string
    duration: number
    id: number
    index: number
    intro: string
    isLike: false
    isPaid: false
    isVideo: false
    isVipFirst: false
    joinXimi: false
    length: number
    playCount: number
    priceOp: string
    showCommentBtn: false
    showForwardBtn: false
    showLikeBtn: false
    showShareBtn: false
    tag: number
    text: string
    title: string
    trackId: number
    uid: number
    uploadId: string
    url: string
    videoCover: string
    ximiVipFreeType: number
}
export type HOME_TODAY_HOT_LIST = Array<TODAY_HOT>;
export interface FREE_INFO {
    coverPath: string
    customTitle: string
    id: number
    playCount: number
    shortIntro: string
    title: string
    uid: number
}
export type FREE_LIST = Array<FREE_INFO>;
export interface HOME_FREE_TODAY {
    hotTrack: {
        hotTracks: HOME_TODAY_HOT_LIST
    }
    limitedFreeAlbum: {
        remainingTime: number
        limitedTimeFreeAlbums: FREE_LIST
    }
}